﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace BTCairo
{
    public abstract class BasicShape
    {
        private CommonGraphics comGra;
        public CommonGraphics CommonGraphics
        {
            get
            {
                return comGra;
            }
            set
            {
                comGra = value;
            }
        }

        private InfoGraphic info;
        public InfoGraphic InfoGraphic
        {
            get
            {
                return info;
            }
            set
            {
                info = value;
            }
        }

        virtual public void Draw()
        {
        }

        virtual public string ToString()
        {
            return "";
        }

        virtual public void ParseXmlElement(XmlDocument doc, XmlElement root)
        {
        }
    }
}
